<?php

namespace app\admin\model;

use think\Model;

/**
 * XCarinfo
 * @controllerUrl 'xCarinfo'
 */
class XCarinfo extends Model
{
    // 表主键
    protected $pk = 'ID';
    
    // 表名
    protected $table = 'x_carinfo';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = false;

    protected $createTime = false;
    protected $updateTime = false;



    public function getDemoAttr($value, $row)
    {
        return !$value ? '' : $value;
    }
}